package net.stogi.dsper.ui.client.module.dataobject;

import com.google.gwt.event.shared.GwtEvent;

public class CloseDataObjectPreviewEvent extends GwtEvent<CloseDataObjectPreviewHandler> {

	public static final GwtEvent.Type<CloseDataObjectPreviewHandler> TYPE = new GwtEvent.Type<CloseDataObjectPreviewHandler>();

	public CloseDataObjectPreviewEvent() {}

	@Override
	public Type<CloseDataObjectPreviewHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(CloseDataObjectPreviewHandler handler) {
		handler.onCloseDataObjectPreview(this);
	}
}
